package top.huhuiyu.springboot.study.mapper.joke;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import top.huhuiyu.springboot.study.entity.joke.TbJoke;

/**
 * @author 胡辉煜
 */
@Mapper
public interface JokeMapper {

  @Insert("insert into tb_joke(content,update_time) values(#{content},#{updateTime})")
  int insert(TbJoke joke);

}
